
    /**  
    * @Title: PortalApiViewService.java
    * @Package com.efast.cafe.portal.remote.api
    * @Description: TODO(用一句话描述该文件做什么)
    * @author Administrator
    * @date 2018年10月8日
    * @version V1.0  
    */
    
package com.efast.cafe.portal.remote.api;

import java.util.List;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import com.efast.cafe.framework.feign.constant.FeignConstant;
import com.efast.cafe.portal.bean.api.PortalApiViewBean;
import com.efast.cafe.portal.entity.api.PortalApiView;

/**
    * @ClassName: PortalApiViewService
    * @Description: 
    * @author Administrator
    * @date 2018年10月8日
    *
    */
@FeignClient(name = "cafe.portal-service",path="/cafe.portal-service")
public interface PortalApiViewService {

	@RequestMapping(value = FeignConstant.Scope.FEIGN_SCOPE_PV+"/portal/api/selectViewsListByMouduleId",method=RequestMethod.POST)
	public List<PortalApiView> selectViewsListByMouduleId(@RequestParam("moduleId")Integer moduleId);
	
	@RequestMapping(value = FeignConstant.Scope.FEIGN_SCOPE_PV+"/portal/api/selectViewByCode",method=RequestMethod.POST)
	public PortalApiViewBean selectViewByCode(@RequestParam("viewCode")String viewCode);
}
